<?php

namespace App\Api\Logic;

use App\Exceptions\ValidationException;
use App\Helpers\ResponseEnum;

class BaseLogic
{
    /**
     * @param $msg
     * @return mixed
     * @throws ValidationException
     */
    public function error($msg = ''){
        //var_dump($msg);
        throw new ValidationException(ResponseEnum::CLIENT_PARAMETER_ERROR,$msg);
    }
}
